﻿using Domain.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Domain.Repositorys
{
    public interface ISGDRepositoty
    {
        /// <summary>
        /// 添加 薪酬发放详细信息数据
        /// </summary>
        /// <param name=""></param>
        /// <returns></returns>
        Task<int> SGDAddAsync(List<SGD> sGDs);

        /// <summary>
        /// 根据薪酬发放编号查询对应薪酬发放详细数据
        /// </summary>
        /// <param name="sid"></param>
        /// <returns></returns>
        Task<List<SGD>> SGDBySidAsync(string sid);

        /// <summary>
        /// 修改薪酬发放详细数据
        /// </summary>
        /// <param name="sGD"></param>
        /// <returns></returns>
        Task<int> SGDUpdateAsync(List<SGD> sGDs);
    }
}
